Average sentence length |
---|
14.6548 |
sentence length | percentage |
---|---|
3 | 0.2600 |
4 | 2.9100 |
5 | 2.2900 |
6 | 3.8500 |
7 | 4.6400 |
8 | 5.0500 |
9 | 7.8300 |
10 | 9.9400 |
11 | 6.0800 |
12 | 6.1500 |
13 | 4.9100 |
14 | 4.7700 |
15 | 4.6400 |
16 | 3.5600 |
17 | 3.9000 |
18 | 3.4000 |
19 | 3.5200 |
20 | 2.5700 |
21 | 2.1000 |
22 | 2.3100 |
23 | 1.9700 |
24 | 1.7100 |
25 | 1.5500 |
26 | 1.2400 |
27 | 1.2300 |
28 | 1.2600 |
29 | 0.8800 |
30 | 1.0200 |
31 | 0.7800 |
32 | 0.7100 |
33 | 0.5600 |
34 | 0.4300 |
35 | 0.3700 |
36 | 0.3700 |
37 | 0.2700 |
38 | 0.2300 |
39 | 0.2700 |
40 | 0.1500 |
41 | 0.1000 |
42 | 0.0900 |
43 | 0.0300 |
44 | 0.0200 |
45 | 0.0300 |
46 | 0.0400 |
49 | 0.0100 |
Next we measure the length of a sentence by its number of words. Again, we are interested in average length and length distribution.
See above.
For simplicity, the number of words in a sentence is calculated as 1+(Number of blanks in the sentence).
Average length:
select avg(1+char_length(sentence)-char_length( replace(sentence," ",""))) from sentences;
Distribution:
SELECT @all:=count(*) from sentences;
select 1+char_length(sentence)-char_length( replace(sentence," ","")), 100*count(*)/@all from sentences where 50>=1+char_length(sentence)-char_length(replace(sentence," ",""))group by 1+char_length(sentence)-char_length( replace( sentence," ",""));
4.2.1 Length of sentences in characters